package org.jctc.els.common.config;

import org.springblade.core.launch.constant.AppConstant;
import org.springframework.context.annotation.Configuration;
import org.springframework.util.StringUtils;


@Configuration
public class BladeFileConfiguration extends BladeFileConfig {
	public String getUploadPath(){

		String property = System.getProperty("os.name");
		System.out.println("系统名称："+property);

		if (StringUtils.hasText(property) && AppConstant.OS_NAME_LINUX.equalsIgnoreCase(property)){
			return super.getLinuxUploadPath();
		}
		return super.getWinUploadPath();
	}
}
